<template>
  <div class="not-found">
    <div class="not-found-content">
      <div class="not-found-icon">
        <img src="/404.png" alt="404" />
      </div>
      <h1>404</h1>
      <p>抱歉，您访问的页面不存在</p>
      <div class="actions">
        <a-button type="primary" @click="$router.push('/')">
          返回首页
        </a-button>
        <a-button @click="$router.back()">
          返回上一页
        </a-button>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
// 404页面
</script>

<style scoped>
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}

.not-found-content {
  text-align: center;
  padding: 40px;
}

.not-found-icon {
  margin-bottom: 32px;
}

.not-found-icon img {
  width: 200px;
  height: 200px;
  object-fit: contain;
}

h1 {
  font-size: 72px;
  color: #262626;
  margin: 0 0 16px 0;
  font-weight: 700;
}

p {
  font-size: 16px;
  color: #8c8c8c;
  margin: 0 0 32px 0;
}

.actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}
</style> 